|
SDK/J Authentication Package ver1.0 RICOH Confidential |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface defines the functionality used by a card service to sign a block of data that matches the key's input length .
| Method Summary | |
int |
getInputLength()
Return the input credential`s length that the cryptographic algorithm can process . |
byte[] |
sign(byte[] credential)
Sign/encrypt a block of data . |
| Method Detail |
public byte[] sign(byte[] credential)
throws java.lang.RuntimeException
credential - The credential to be signed
.
Its length must match the length obtained with getInputLength() method.
java.lang.RuntimeException - Because signing credential is a fatal process, if it is failed, throws an unchecked exception
.public int getInputLength()
|
SDK/J Authentication Package ver1.0 RICOH Confidential |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||